package roito.afterthedrizzle.common.calendar;

public final class ChineseCalendarHelper
{
    private final static int[] LUNAR_MONTH_INFO = new int[]
            {0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, //1900-1909
                    0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, //1910-1919
                    0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, //1920-1929
                    0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, //1930-1939
                    0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, //1940-1949
                    0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, //1950-1959
                    0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, //1960-1969
                    0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, //1970-1979
                    0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, //1980-1989
                    0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, //1990-1999
                    0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, //2000-2009
                    0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, //2010-2019
                    0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, //2020-2029
                    0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, //2030-2039
                    0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, //2040-2049
                    0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, //2050-2059
                    0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, //2060-2069
                    0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, //2070-2079
                    0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, //2080-2089
                    0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, //2090-2099
                    0x0d520}; //2100

    private final static int[] SOLAR_TERMS_INFO = new int[]
            {0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1900-1901
                    0x97bcf, 0x97c35, 0x98082, 0xc95f8, 0xc965c, 0xc920f, 0x97bd0, 0xb06bd, 0xb0722, 0xc965c, 0xe1cfc, 0xc920f, //1902-1903
                    0xb0270, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1904-1905
                    0x97bcf, 0x97c35, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, 0x97bd0, 0xb06bd, 0xb0722, 0xc965c, 0xe1cfc, 0xc920f, //1906-1907
                    0xb0270, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1908-1909
                    0x97bcf, 0x97c35, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, 0x97bd0, 0xb06bd, 0xb0722, 0xc965c, 0xe1cfc, 0xc920f, //1910-1911
                    0xb0270, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97783, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1912-1913
                    0x97b6b, 0x97bd1, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, 0x97bd0, 0x9801d, 0x98082, 0xc95f8, 0xe1cfc, 0xc920f, //1914-1915
                    0x97bd0, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, 0x97783, 0x97bd1, 0x97c36, 0xc9210, 0xc9274, 0xc91aa, //1916-1917
                    0x97b6b, 0x97bd1, 0x9801e, 0xc95f8, 0xc965c, 0xc920e, 0x97bd0, 0x9801d, 0x98082, 0xc95f8, 0xe1cfc, 0xc920f, //1918-1919
                    0x97bd0, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, 0x97783, 0x97bd0, 0x97c36, 0xc9210, 0xc9274, 0xc91aa, //1920-1921
                    0x97b6b, 0x97bd1, 0x9801e, 0xc95f8, 0xc965c, 0xc920e, 0x97bcf, 0x97c35, 0x98082, 0xc95f8, 0xe1cfc, 0xc920f, //1922-1923
                    0x97bd0, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, 0x97783, 0x97bd0, 0x97c36, 0xc9210, 0xc9274, 0xc91aa, //1924-1925
                    0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, 0x97bcf, 0x97c35, 0x98082, 0xc95f8, 0xc965c, 0xc920f, //1926-1927
                    0x97bd0, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1928-1929
                    0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, 0x97bcf, 0x97c35, 0x98082, 0xc95f8, 0xc965c, 0xc920f, //1930-1931
                    0x97bd0, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1932-1933
                    0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, 0x97bcf, 0x97c35, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, //1934-1935
                    0x97bd0, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1936-1937
                    0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, 0x97bcf, 0x97c35, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, //1938-1939
                    0x97bd0, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1940-1941
                    0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, 0x97bcf, 0x97c35, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, //1942-1943
                    0x97bd0, 0x97bd0, 0x7f595, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, //1944-1945
                    0x97783, 0x97bd1, 0x9801e, 0xc9210, 0xc9274, 0xc920e, 0x97b6b, 0x97bd1, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, //1946-1947
                    0x97bd0, 0x7f530, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, //1948-1949
                    0x97783, 0x97bd0, 0x97c36, 0xc9210, 0xc9274, 0xc920e, 0x97b6b, 0x97bd1, 0x9801e, 0xc95f8, 0xc965c, 0xc920f, //1950-1951
                    0x97bd0, 0x7f530, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, //1952-1953
                    0x97783, 0x97bd0, 0x97c36, 0xc9210, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1954-1955
                    0x97bd0, 0x7f148, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, //1956-1957
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1958-1959
                    0x97bcf, 0x7f148, 0x7f595, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, //1960-1961
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1962-1963
                    0x97bcf, 0x7f148, 0x7f595, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, //1964-1965
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1966-1967
                    0x97bcf, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, //1968-1969
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc965c, 0xc920e, //1970-1971
                    0x97bcf, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b6f, 0xc920f, 0xb0722, //1972-1973
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, 0x97b6b, 0x97bd1, 0x9801e, 0xc9210, 0xc9274, 0xc920e, //1974-1975
                    0x97bcf, 0x7f0e4, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //1976-1977
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc91aa, 0x97b6b, 0x97bd1, 0x97c36, 0xc9210, 0xc9274, 0xc920e, //1978-1979
                    0x97bcf, 0x7f0e4, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //1980-1981
                    0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, 0x97783, 0x97bd0, 0x97c36, 0xc9210, 0xc9274, 0xc920e, //1982-1983
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, 0x7f0e3, 0x7f530, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //1984-1985
                    0x7f0e3, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, 0x97783, 0x97bd0, 0x97c36, 0xb0b70, 0xc9274, 0xc91aa, //1986-1987
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e3, 0x7f148, 0x7f595, 0xb0b0b, 0xb0b6f, 0xb0722, //1988-1989
                    0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc9210, 0xc8dc2, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1990-1991
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e2, 0x7f148, 0x7f595, 0xb0b0b, 0xb0b6f, 0xb0722, //1992-1993
                    0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1994-1995
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //1996-1997
                    0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //1998-1999
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2000-2001
                    0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //2002-2003
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2004-2005
                    0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9274, 0xc91aa, //2006-2007
                    0x97b6b, 0x7f0e4, 0x7f531, 0xb0723, 0xb0787, 0xb0721, 0x7f0e2, 0x7f0e4, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2008-2009
                    0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc91aa, //2010-2011
                    0x97b6b, 0x7f0e4, 0x7f149, 0xb0723, 0xb0787, 0xb0721, 0x7f0e2, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, //2012-2013
                    0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x97783, 0x97bd0, 0x97c36, 0xb0b6f, 0xc9210, 0xc8dc2, //2014-2015
                    0x97783, 0x7f0e3, 0x7f149, 0xb0723, 0xb0787, 0xb0721, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, //2016-2017
                    0x7f0e3, 0x7f530, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc9210, 0xc8dc2, //2018-2019
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb0721, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2020-2021
                    0x7f0e3, 0x7f148, 0x7f595, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc9210, 0xc8dc2, //2022-2023
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2024-2025
                    0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, //2026-2027
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2028-2029
                    0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x97c35, 0xb0b6f, 0xc920f, 0xb0722, //2030-2031
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2032-2033
                    0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //2034-2035
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2036-2037
                    0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //2038-2039
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f149, 0xb0723, 0xb0787, 0xb0721, //2040-2041
                    0x7f0e2, 0x7f0e4, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //2042-2043
                    0x97783, 0x7f0e3, 0x7f149, 0x98082, 0xb0723, 0xb06bd, 0x7f07e, 0x7f0e3, 0x7f149, 0xb0723, 0xb0787, 0xb0721, //2044-2045
                    0x7f0e2, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, 0x7f0e3, 0x97bd0, 0x7f595, 0xb0b0b, 0xc920f, 0xb0722, //2046-2047
                    0x97783, 0x7f0e3, 0x7f148, 0x98082, 0xb0723, 0xb02d5, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb0721, //2048-2049
                    0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, 0x7f0e3, 0x7f148, 0x7f595, 0xb0b0b, 0xb0b6f, 0xb0722, //2050-2051
                    0x7f0e3, 0x7f0e3, 0x7f148, 0x98082, 0xb0723, 0xb02d5, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb0721, //2052-2053
                    0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, 0x7f0e3, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2054-2055
                    0x7f0e3, 0x7f0e3, 0x7f148, 0x98082, 0xb0723, 0xb02d5, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, //2056-2057
                    0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e3, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2058-2059
                    0x7f0e3, 0x7f0e3, 0x7f148, 0x98082, 0xb0722, 0x97c35, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, //2060-2061
                    0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2062-2063
                    0x7f0e3, 0x7f0e3, 0x7f148, 0x98082, 0xb0722, 0x97c35, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, //2064-2065
                    0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, 0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2066-2067
                    0x7f0e3, 0x7f0e3, 0x66aa8, 0x9801e, 0xb0722, 0x97c35, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, //2068-2069
                    0x7f07e, 0x7f0e4, 0x7f149, 0xb0723, 0xb0787, 0xb0721, 0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722, //2070-2071
                    0x7f0e3, 0x7f0e3, 0x66aa8, 0x9801e, 0xb0722, 0x97c35, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0723, 0xb06bd, //2072-2073
                    0x7f07e, 0x7f0e4, 0x7f149, 0xb0723, 0xb0787, 0xb0721, 0x7f0e2, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, //2074-2075
                    0x7f0e3, 0x7f0e3, 0x66aa8, 0x9801e, 0xb0722, 0x97c35, 0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0723, 0xb06bd, //2076-2077
                    0x7f07e, 0x7f0e3, 0x7f149, 0x98083, 0xb0787, 0xb0721, 0x7f0e2, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, //2078-2079
                    0x7f0e3, 0x7f0e3, 0x66aa8, 0x9801e, 0xb0722, 0x97c35, 0x7ec96, 0x7f0e3, 0x7f148, 0x98082, 0xb0723, 0xb02d5, //2080-2081
                    0x7f07e, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb0721, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, //2082-2083
                    0x7f0e3, 0x6665b, 0x66aa8, 0x9801e, 0x98082, 0x97c35, 0x665f6, 0x7f0e3, 0x7f148, 0x98082, 0xb0723, 0xb02d5, //2084-2085
                    0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb0721, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0722, //2086-2087
                    0x7f0e3, 0x6665b, 0x66a44, 0x9801e, 0x98082, 0x97c35, 0x665f6, 0x7f0e3, 0x7f148, 0x98082, 0xb0723, 0xb02d5, //2088-2089
                    0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2090-2091
                    0x7f0e3, 0x6665b, 0x66a44, 0x9801e, 0x98082, 0x97c35, 0x665f6, 0x7f0e3, 0x7f148, 0x98082, 0xb0722, 0x97c35, //2092-2093
                    0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2094-2095
                    0x7f0e2, 0x6665b, 0x66a44, 0x9801e, 0x98082, 0x97c35, 0x665f6, 0x7f0e3, 0x7f148, 0x9801e, 0xb0722, 0x97c35, //2096-2097
                    0x7ec96, 0x7f0e3, 0x7f149, 0x98082, 0xb0787, 0xb06bd, 0x7f07e, 0x7f0e4, 0x7f531, 0xb0723, 0xb0b6f, 0xb0721, //2098-2099
                    0x7f0e2, 0x7f148, 0x7f531, 0xb0b0b, 0xb0b6f, 0xb0722}; //2100

    private final static String[] MONTH_NAME = {"正月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "冬月", "腊月"};
    private final static String[] NUMBER_NAME = {"十", "一", "二", "三", "四", "五", "六", "七", "八", "九"};

    public final static String getChineseMonthName(int month)
    {
        return MONTH_NAME[month - 1];
    }

    public final static String getChineseDayName(int day)
    {
        int tens = day / 10;
        int ones = day % 10;
        String ten = "三";
        String one = NUMBER_NAME[ones];

        if (tens == 0)
        {
            ten = "初";
        }
        else if (tens == 1)
        {
            ten = "十";
        }
        else if (tens == 2)
        {
            if (ones != 0)
            {
                ten = "廿";
            }
            else
            {
                ten = "二";
            }
        }
        return ten + one;
    }
}
